package com.keeson.android_cli.interfaces.contract;

import com.keeson.android_cli.base.BasePresenter;
import com.keeson.android_cli.base.BaseView;
import com.keeson.android_cli.entity.UserInfo;

/**
 * Created by jiaqiZHou
 * on 2020/12/4
 */
public interface MineContract {

    interface View extends BaseView {
        void modifyUserInfoSuccess(String data);
        void getUserInfoSuccess(UserInfo data);
        void getBedMattressInfoSuccess(UserInfo data);
    }

    interface Presenter extends BasePresenter {
        void modifyUserInfo( UserInfo postBody);
        void getUserInfoById( int id);
        void getBedMattressInfo( int id);
    }
}
